# Contributor: Philipp Glaum <p@pglaum.de>
# Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=py3-teletype
_pkgname=teletype
pkgver=1.1.0
pkgrel=2
pkgdesc="high-level cross platform tty library"
options="!check" # No testsuite
url="https://pypi.org/project/teletype/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="440cd00b46abb58daec4c9f2dbbd25dd8b566cf071c668d636f622ecbde080ced2436c9f5fc21b70771ccc2b6f4278720e585673dc2bc215dfcad9b3cc8f958f  teletype-1.1.0.tar.gz"
